﻿using System.Collections;
using Workflow.Common.Dao;
using Spring.Data.NHibernate.Support;


using Workflow.IDAO;
using Workflow.Model;


namespace Workflow.DAO
{
	public class CompanyDao : RepositoryBase<Company>, ICompanyDao
    {
		//public Company Save(Company company)
		//{
           
		//    HibernateTemplate.Save(company);
		//    return company;
		//}

		//public Company SaveOrUpdate(Company company)
		//{
		//    HibernateTemplate.SaveOrUpdate(company);
		//    return company;
		//}

		//public void Delete(Company company)
		//{
		//    HibernateTemplate.Delete(company);
		//}

		//public Company FindById(string companyId)
		//{
		//    return HibernateTemplate.Get(typeof(Company), companyId) as Company;
		//}

    }
}
